package com.evenmo.pojo;

import java.io.Serializable;

public class Person implements Serializable{

	private Integer id;
	private String name;
	
	private String sex;
	private String age;
	private Integer cardId;
	private Card card;
	private Integer dataFlag;
	public Integer getDataFlag() {
		return dataFlag;
	}
	public void setDataFlag(Integer dataFlag) {
		this.dataFlag = dataFlag;
	}
	
	public Person(String name, String sex, String age, Integer cardId, Card card, Integer dataFlag) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.cardId = cardId;
		this.card = card;
		this.dataFlag = dataFlag;
	}
	public Person(Integer id, String name, String sex, String age, Integer cardId, Card card, Integer dataFlag) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.cardId = cardId;
		this.card = card;
		this.dataFlag = dataFlag;
	}
	public Person(String name, String sex, String age, Integer cardId, Card card) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.cardId = cardId;
		this.card = card;
	}
	public Person(Integer id, String name, String sex, String age, Integer cardId, Card card) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
		this.cardId = cardId;
		this.card = card;
	}
	public Integer getCardId() {
		return cardId;
	}
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}
	public Card getCard() {
		return card;
	}
	public void setCard(Card card) {
		this.card = card;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public Person() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Person(Integer id, String name, String sex, String age) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.age = age;
	}
	public Person(String name, String sex, String age) {
		super();
		this.name = name;
		this.sex = sex;
		this.age = age;
	}
	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", sex=" + sex + ", age=" + age + ", cardId=" + cardId
				+ ", card=" + card + ", dataFlag=" + dataFlag + "]";
	}
	
}
